package com.cw.demo.proxy;

/**
 * 学生
 *
 * @author chenw
 * @date 2021/1/3
 */
public class Student implements Person{
    private String name;
    public Student(String name){
        this.name = name;
    }
    /**
     * 学生说话
     *
     * @param word
     */
    @Override
    public void talk(String word) {
        System.out.println(name +"说："+word);
    }
}
